package org.uoss.core.util;

public final class StringUtil {
	
	public static String ISO2UTF(String values){
		return values;
	}
	
	/**
	 * 
	 * 
	 * @param value
	 * @param size
	 * @param pattern
	 * @return
	 */
	public static String addPrefixPattern(String value,Integer size,Character pattern){
		if(value==null){
			return null;
		}
		int diff = size - value.length();
		StringBuilder newValue = new StringBuilder();
		for(int i=0;i<diff;i++){
			newValue.append(pattern);
		}
		newValue.append(value);
		return newValue.toString();
	}
}
